package org.example.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * @TableName products
 */
@TableName(value ="products")
@Data
public class Products implements Serializable {
    
    @TableId(type = IdType.AUTO)
    private Integer productId;

    private String productName;

    private String category;

    private BigDecimal price;

    private Integer stockQuantity;

    private String description;

    private Date createdAt;

    private Date updatedAt;

    private static final long serialVersionUID = 1L;
}